package com.lzy.business.response.excel;

import com.lzy.framework.core.excel.annotation.ExcelColumn;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by WIN7 on 2018/4/8.
 */
public class CheckLogResponse implements Serializable{

    private static final long serialVersionUID = 6100271460686751523L;
    /**
     * 日期
     */
    @ExcelColumn(value = "日期", sort = 1, width = 256 * 15)
    private String createTime;

    /**
     * 卡券类型
     */
    @ExcelColumn(value = "卡券类型", sort = 2, width = 256 * 15)
    private String couponName;

    /**
     * 规格
     */
    @ExcelColumn(value = "规格", sort = 3, width = 256 * 15)
    private String couponSpec;

    /**
     * 单价
     */
    @ExcelColumn(value = "单价", sort = 4, width = 256 * 15)
    private BigDecimal couponPrice;


    /**
     * 会员姓名
     */
    @ExcelColumn(value = "会员姓名", sort = 5, width = 256 * 15)
    private String memberName;

    /**
     * 会员电话
     */
    @ExcelColumn(value = "会员电话", sort = 5, width = 256 * 15)
    private String memberPhone;

    /**
     * 核销人
     */
    @ExcelColumn(value = "核销人", sort = 5, width = 256 * 15)
    private String checkerName;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.substring(0,createTime.length()-2);
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getCouponSpec() {
        return couponSpec;
    }

    public void setCouponSpec(String couponSpec) {
        this.couponSpec = couponSpec;
    }

    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getCheckerName() {
        return checkerName;
    }

    public void setCheckerName(String checkerName) {
        this.checkerName = checkerName;
    }
}
